package com.njym.java.security.app.biz;

import com.github.pagehelper.PageHelper;
import com.njym.java.security.common.biz.BaseBiz;
import org.springframework.stereotype.Service;

import com.njym.java.security.app.entity.Lecturer;
import com.njym.java.security.app.mapper.LecturerMapper;

import javax.annotation.Resource;
import java.util.List;

/**
 * 
 *
 * @author lijie
 * @email 717057076@qq.com
 * @date 2020-01-15 13:36:40
 */
@Service
public class LecturerBiz extends BaseBiz<LecturerMapper,Lecturer> {
    @Resource
    private LecturerMapper lecturerMapper;

    public List<Lecturer> queryList(String province, String name, String pname, Integer page, Integer limit){
        PageHelper.startPage(page,limit);
        return lecturerMapper.queryList(province, name, pname);
    }

}